package com.eims.app.biz;
 

import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;

import android.content.Context;

import com.eims.app.configs.Urls;
import com.eims.app.https.HttpUtils;
 

public class PostDao extends BaseDao {
	private Context mContext;

	public PostDao(Context context) {
		mContext = context;
	}
	public String post(){
		String url = Urls.BASIC_URL;
		NameValuePair  user = new BasicNameValuePair("uname", "zengwentao");
        NameValuePair  pass = new BasicNameValuePair("pwd", "123456789");
		NameValuePair[] Values = new NameValuePair[]{user,pass};
		String result = HttpUtils.postByHttpClient(mContext, url, Values);
		return result;
	}
}
